home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Commands / PPrintOptionsPS.cpp < prev    next >
C/C++ Source or Header  |  1996-09-04  |  977b  |  41 lines

  1. /*
  2.  *--- PPrintOptionsPS.cpp -------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PPrintOptionsPS.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PPrintOptionsPS.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. const size_t REQUEST_SIZE = 14;
  16.  
  17. PPrintOptionsPS::PPrintOptionsPS
  18.   (    short    cGraphics,
  19.     PMBool    bMarks,
  20.     PMBool    bPageInfo,
  21.     PMBool    bSendData,
  22.     short    cDownload,
  23.     PMBool    bSymbol,
  24.     PMBool    bErrHandler )
  25. {
  26.     char * temp[REQUEST_SIZE];
  27.     PRequestBuf request(temp);
  28.  
  29.     request << cGraphics
  30.             << bMarks
  31.             << bPageInfo
  32.             << bSendData
  33.             << cDownload
  34.             << bSymbol
  35.             << bErrHandler;
  36.             
  37.     PCommand command(pm_printoptionsps, request);
  38. }
  39.  
  40. // end of PPrintOptionsPS.cpp
  41.